package Assesment
{
	import SplineComponent.SplineComponentController;
	
	import util.Observable;
	
	public class AssesmentController extends SplineComponentController
	{
		private var model:Object;
		
		public function AssesmentController(model:Observable)
		{
			super(model);
			this.model=this.getModel();
		}
		
		public function recordVideo():void
		{
			model.recordVideo();
		}

		public function recordAudio():void
		{
			model.recordAudio();
		}
		public function showPreviousQuestion():void
		{
			model.showPreviousQuestion();
		}
		
		public function saveMultipleChoiceQuestions():void
		{
			model.saveMultipleChoiceQuestions();
		}
		
		public function test():void
		{
			model.saveMultipleChoiceQuestionsToXmlFile();
		}

	}
}